package muestraTecnologica;

import java.awt.Color;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

/**
 *
 * @author David Cuellar
 */
public class PanelCenter extends JPanel{
    
    private JLabel fondo;
    
    public PanelCenter(){
        
        setLayout(null);
        setBounds(94, 236, 615, 300);
        setBackground(Color.lightGray);
        
        fondo = new JLabel(new ImageIcon("imagenes/FondoVotos.jpg"), SwingConstants.CENTER);
        fondo.setBounds(0, 0, 615, 300);
        
        //add(fondo);
        
        revalidate();

    }
    
}
